package com.blackline.UI.JOURNALS;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;

/**
 * @author XBO
 * @version Feb, 2013
 * <p>This page is shown after clicking  "Reject" button in the Journal page.
 * Please refer to UI.SendNotificationofRejection.png in doc-files.
 */
public class SendNotificationofRejection {
	/**
	 * the whole Send Notification Rejection iFrame
	 */
	@FindBy (name = "Consolidation")
	public WebElement wholeiframe;
	
	/**
	 * The text message of "Send Notifications of Rejection"
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_lblTitle")
	public WebElement Send_Notification_of_Rejectionn_textMessage;
	
	
	/**
	 * Preparer checkbox
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_cbToPrep")
	public WebElement Preparer_checkbox;
	
	/**
	 * Myself checkbox
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_cbToMyself")
	public WebElement Myself_checkbox;
	
	/**
	 * Myself text field
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_tbMyself")
	public WebElement Myself_textField;
	
	/**
	 * Subject text field
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_tbSubject")
	public WebElement Subject_textField;
	
	
	/**
	 * Send Button
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_btnSend")
	public WebElement Send_Button;
	
	/**
	 * Cancel Button
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_btnCancel")
	public WebElement Cancel_Button;
	
	
	/**
	 * Subject TextFiled
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_tbSubject")
	public WebElement Subject_TextFiled;
	
	
	/**
	 * The notification iframe. If you want to input texts into notification text box, you need to switch into this iframe; later you may need to switch back to defaultContent().
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_bleTbEmail_contentIframe")
	public WebElement Notification_iframe;
	
	/**
	 * notification text box
	 */
	@FindBy (xpath = "//body")
	public WebElement Notification_textBox;
	
}
